All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.naming.StringRefAddr

java.lang.Object
   |
   +----java.naming.RefAddr
           |
           +----java.naming.StringRefAddr

public class StringRefAddr
extends RefAddr
The StringRefAddr class represents a communications end-point. It consists of a type that describes the communication mechanism and a string contents specific to that communication mechanism.

See Also:
RefAddr, BinaryRefAddr

Variable Index

 o contents

Constructor Index

 o StringRefAddr(String, String)
Constructs a new instance of StringRefAddr using its address type and contents.

Method Index

 o getAddressContents()
Retrieves the contents of this address.
 o getAddressString()
Retrieves the contents of this address as a string.

Variables

 o contents
 protected String contents

Constructors

 o StringRefAddr
 public StringRefAddr(String addrType,
                      String addr)
Constructs a new instance of StringRefAddr using its address type and contents.

Parameters:
addrType - A string describing the type of the address.
addr - The contents of the address in the form of a string.

Methods

 o getAddressString
 public String getAddressString()
Retrieves the contents of this address as a string.

Returns:
The address contents as a string.
 o getAddressContents
 public Object getAddressContents()
Retrieves the contents of this address.

Returns:
The address contents.
Overrides:
getAddressContents in class RefAddr

All Packages  Class Hierarchy  This Package  Previous  Next  Index